/**
 *
 */

package it.bd.SetAllConnectionsOff.helper;

/**
 * @author Mihai HARAS (Lohmar ASHAR) 2011
 */
public interface IServiceHelper {
    /**
     * @return <b>true</b> if the service is running,<br/>
     *         <b>false</b> otherwise
     */
    boolean isServiceEnabled();

    /**
     * @return <b>true</b> if the device has this service available,<br/>
     *         <b>false</b> otherwise
     */
    boolean isServicePresent();

    /**
     * sets the state of the service
     * 
     * @param serviceEnabled - <b>true</b> should start the service,<br/>
     *            <b>false</b> to stop the service
     */
    void setServiceEnabled(boolean serviceEnabled);

}
